Rated Charges
While CMP
Converged Monetisation Platform. The MDS Global product that supports customer care and billing for digital service providers. calculates the price of the majority of non-usage
The consumption of services, for example a subscriber using call minutes. items that appear in an invoice, it is possible to include non-usage items whose price has already been calculated by an external system. When CMP receives files containing rated charge records, these are automatically detected by a dedicated daemon
A computer program that runs as a background process, rather than being under the control of an interactive user., which creates a rated charge batch in CMP for each file received. The daemon:
- Creates an Interface Batch Header record with a stage and stage status of Extract/Load - In Progress.
- Validates the JSON
JavaScript Object Notation. JSON is a lightweight format for storing and transporting data, often used when data is sent from a server to a web page. from the external system. - Creates Interface Batch Header and Detail records.
- Creates Rated Charge Batch Detail records.
- Updates the stage and stage status to Extract/Load - Complete.
The Rated Charges job is automatically triggered whenever a new rated charge batch has been created. It performs the necessary updates in CMP to allow these charges to be available to the Billing process. The job:
- Processes a record from Interface Batch Header whose stage and status are Extract/Load - Complete.
- Updates the stage and status to Batch - In Progress.
- Performs file-level validation, and writes the record to Interface Batch Header Error file if needed and updates the stage and status to Error.
- Performs record-level validation. Updates the status on Rated Charge Batch Detail table to either Process or Error.
- For each valid detail record, creates a Pending Invoice Header and Invoice Detail record
- Updates the Stage and Status to Batch - Complete.
This job is part of the scheduled Billing process, which coordinates the activities of charge calculation, bill presentation and transmission. The Billing process is typically scheduled to run daily.
The following Billing jobs must be run in sequence:
-
Invoice Production job
-
Statement Production job
-
Bill Print job
-
Invoice Posting job
-
Usage Archiving
The jobs must run in this sequence because there are dependencies between the various jobs. For example, the Statement Production job relies on the invoices produced by Invoice Production job.
The following probe
In the Administration Console architecture, a mechanism which allows for the execution of predefined queries and for the comparison of the results of those queries against pre-configured targets. Probes can be reviewed and managed via the Admin Console.(s) can be run against the Rated Charges job:
| Name | Type | Description | ||
|---|---|---|---|---|
| Rated Charges Batch Completed | SLA | SLA probe that returns the number of CMP configuration errors detected by the Rated Charge Job today. The SLA is breached if the number of errors is above the defined threshold. These type of errors can be resolved by amending CMP configuration. Because this is an SLA probe, there is no email alert issued. | ||
| Rated Charges Batch Completed | Alert | Alert probe that returns the number of times the Rated Charge Job has run today. If this query returns a value of zero, this indicates the job has not run today and an alert will be sent to the recipients configured for this probe. | ||
| Rated Charges Load Completed | Alert | Alert probe that returns the number of files received by the Rated Charge Load Daemon today. If this query returns a value of zero ,this indicates that no inbound files were received today and an alert will be sent to the recipients configured for this probe | ||
| Rated Charges Batch Completed | SLA | SLA probe that returns the number of CMP configuration errors detected by the Rated Charge Job today. The SLA is breached if the number of errors is above the defined threshold. This type of error can be resolved by amending CMP configuration. Because this is an SLA probe, there is no email alert issued. | ||
Relevant JSON schema
A specification for JSON based format for defining the structure of JSON data.: